<template>
  <div id="app">
    <router-view />
    <loading></loading>
  </div>
</template>

<script>
import loading from "@/components/loading";
export default {
  name: "App",
  components: { loading }
};
window.onload = function() {
  document.addEventListener('touchstart', function(event) {
    if (event.touches.length > 1) {
      event.preventDefault()
    }
  })
  document.addEventListener('gesturestart', function(event) {
    event.preventDefault()
  })
}
</script>

<style>
#app {
  width: 100%;
}
</style>
